<div class="sectionHeader">
    <hr>
    <button type="button" onclick="takeout.del('${ctxPath!}/image/delPic',1, '')" class="btn btn-info mainButtonRight">全部删除</button>
    <!--<button type="button" class="btn btn-info mainButtonRight"><a href="javascript:takeout.openEdit('${ctxPath!}/image/edit', null);" class="mianAcolor">+ 新增</a></button>-->
</div>
<form id="queryForm" action="${ctxPath!}/image/list" method="POST">
    <!--<div class="sectionForm">
        <div class="form-inline">
            <div class="sectionFormFirstRow">
                <div class="form-group sectionFormLabel">
                    <label class="mainColor">标题:</label>
                    <input type="text" name="title" class="form-control" id="peopleName" required="" />
                </div>
                <div class="form-group sectionFormLabel">
                    <label class="mainColor">类别:</label>
                    <#oneToManyTag type="select" table="category" columnName="name" class="mainSetWidth"
                            pname="categoryid" defaultNumber="1" whereSel="parentid" whereArgs="3"></#oneToManyTag>
                </div>
                <button type="button" onclick="takeout.ajaxFormMainPanel('queryForm')" class="btn btn-info" style="width:90px;">查询</button>
            </div>
        </div>
    </div>-->
    <div class="sectionFormContent">
        <div class="sectionFormHeadline">
        </div>
        <hr>
        <table class="table table-bordered table-hover">
            <thead>
            <tr>
                <th style="width: 50px;" ><a href="javascript:takeout.selectAll();">全选</a></th>
                <th>ID</th>
                <th>地址</th>
                <th style="width: 70px;">操作</th>
            </tr>
            </thead>
            <% for(pic in data){ %>
            <tr class="a">
                <td style="width: 50px;text-align:center"><input class="a" type="checkbox" value="${pic.id}" /></td>
                <td>${pic.id}</td>
                <td><a href="${pic.img}" target="_blank"><image style="width: 250px;height: 180px;" src="${pic.img}"/></a></td>
                <td style="width: 70px;">
                    <a class="a" href="javascript:takeout.del('${ctxPath!}/image/delPic' ,0, '${pic.id}')">删除</a>
                </td>
            </tr>
            <%}%>

        </table>
        <!--<div id="splitPageDiv" class="splitPage">
            <% include("../common/comm_page.html", {"divId" : "manage_content", "formId" : "queryForm", "splitPageDiv" : "splitPageDiv"}){} %>
        </div>-->
    </div>
</form>